package com.zzyl.nursing.service;

import java.util.List;

import com.aliyun.iot20180120.models.QueryDevicePropertyStatusRequest;
import com.aliyun.iot20180120.models.QueryThingModelPublishedRequest;
import com.zzyl.common.core.domain.AjaxResult;
import com.zzyl.nursing.domain.Device;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.nursing.dto.DeviceDto;
import com.zzyl.nursing.vo.DeviceVo;
import com.zzyl.nursing.vo.ProductVo;

/**
 * 设备管理Service接口
 * 
 * @author alexis
 * @date 2025-01-10
 */
public interface IDeviceService extends IService<Device>
{

    public List<Device> selectDeviceList(Device device);



    void syncProductList();

    List<ProductVo> allProduct();

    void register(DeviceDto deviceDto);

    DeviceVo queryDeviceDetail(DeviceDto deviceDto);

    AjaxResult queryThingModelPublished(QueryThingModelPublishedRequest request);

    AjaxResult queryDevicePropertyStatus(QueryDevicePropertyStatusRequest request);

    void updateDevice(Device device);
}
